/*
* @Author: wanghongfucoder
* @Date:   2017-04-05 16:16:47
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-04-05 16:19:34
*/

public  class Client {
	
	private CompositeEntity compositeEntity=new CompositeEntity();


	public void printData(){
		for (String data : compositeEntity.getData() ) {
			System.out.println("Data: "+data) ;
		}
	}

	public void setData(String data1,String data2){
		compositeEntity.setData(data1,data2);
	}
}